package whf.framework.datasource;

import java.util.Collection;
import java.util.Iterator;

/**
 * @author king
 * @modify 2008-4-23 上午11:27:34
 * 
 * @param <T>
 */
public class EmptyDataSource<T extends DataRow> implements DataSource<T> {
	public EmptyDataSource() {
		
	}

	public T getCurrent() {
		return null;
	}

	public Collection<T> getDataSource() throws DataSourceException {
		return null;
	}

	public int getTotalRowCount() throws DataSourceException {
		return 0;
	}

	public Iterator<T> iterator() {
		return null;
	}

	public int size() throws DataSourceException {
		return 0;
	}

	public boolean hasNext() {
		return false;
	}

	public T next() {
		return null;
	}

	public void remove() {
	}

}
